package com.speily.web.http;

import java.io.IOException;
import java.io.OutputStream;

/**
 * @Auther: SPL
 * @Date: 2019-07-03 11:09
 * @Description: 自定义Response
 */
public class Response {
    public OutputStream outputStream;

    public String wirte;

    public static final String resp404="HTTP/1.1 404 \r\n"
            + "Content-Type: text/html\r\n"
            + "\r\n";

    public static final String responseHeader="HTTP/1.1 200 \r\n"
            + "Content-Type: text/html\r\n"
            + "\r\n";

    public Response(OutputStream outputStream) throws IOException {
        this.outputStream= outputStream;
    }

    public String getWirte() {
        return wirte;
    }

    public void setWirte(String wirte) {
        this.wirte = wirte;
    }

}
